import java.util.BitSet;
import java.util.HashMap;

public class Demo {
    public static void main(String[] args) {
        MyBloomFileter myBloomFilter = new MyBloomFileter();
        myBloomFilter.add("hello");
        myBloomFilter.add("hello2");
        myBloomFilter.add("bit");
        myBloomFilter.add("haha");

        System.out.println(myBloomFilter.contains("hello"));
        System.out.println(myBloomFilter.contains("hello3"));
        System.out.println(myBloomFilter.contains("he"));
    }
}
